package org;

public class GreetingService {

    private String constArg1;
    private String constArg2;
    private SomeClass someClass;

    private String prop1;

    public GreetingService() {
    }

    public GreetingService(String constArg1) {

        this.constArg1 = constArg1;
    }

    public GreetingService(String constArg1, String constArg2) {
        this.constArg1 = constArg1;
        this.constArg2 = constArg2;
    }

    public String getProp1() {
        return prop1;
    }

    public void setProp1(String prop1) {
        this.prop1 = prop1;
    }

    public SomeClass getSomeClass() {
        return someClass;
    }

    public void setSomeClass(SomeClass someClass) {
        this.someClass = someClass;
    }

    public String getConstArg1() {
        return constArg1;
    }

    public void setConstArg1(String constArg1) {
        this.constArg1 = constArg1;
    }

    public String getConstArg2() {
        return constArg2;
    }

    public void setConstArg2(String constArg2) {
        this.constArg2 = constArg2;
    }

    @Override
    public String toString() {
        return "GreetingService{" +
                "constArg1='" + constArg1 + '\'' +
                ", constArg2='" + constArg2 + '\'' +
                ", prop1='" + prop1 + '\'' +
                ", someClass=" + someClass +
                '}';
    }
}
